package org.csu.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(" account")
public class Account {

    @TableId(type = IdType.AUTO)
    private Integer userId;

    private String username;

    private String password;

    private String realName;

    private String phoneNumber;

    private String email;

    private Integer role;

    private String address;

    private String image;

    private Double balance;

    private Long idCard;

    private String question;

    private String answer;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
